#!/usr/bin/env bash

declare -a part=( ${1//\./ } )
declare    new
declare -i carry=1
CNTR=${#part[@]}-1
len=${#part[CNTR]}
new=$((part[CNTR]+carry))
part[CNTR]=${new}
new="${part[*]}"
echo -e "${new// /.}\c"